
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>在线考试</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="/static/exam/layui/css/layui.css"  media="all">
  <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>
  <script>
            $.get('{:url("exam/common/check")}',function(data){
            if(data == '0'){
                alert("请先登录！")
                window.location.href='{:url("exam/login/homeLogin")}'
            }else{
                $('#navname').text(data.name)
            }
        },"json")
  </script>


 <div style="margin-left: 15px; margin-bottom: 20px;">
        当前位置：
    <span class="layui-breadcrumb" lay-separator=" > " style="visibility: visible;">
        <a href="{:url('exam/index/content')}">首页 > </a>
        <a><cite>在线考试</cite></a>
    </span>
</div>


<div style="padding: 20px; background-color: #F2F2F2;">
    <div class="layui-row layui-col-space15">

        {volist name="subjectList" id="vo"}
      <div class="layui-col-md4">
        <a href="{:url('exam/onlinetest/paperlist')}?id={$vo.id}&&subject={$vo.subject}">
        <div class="layui-card" style="height: 200px;">
          <div class="layui-card-header">{$vo.subject}</div>
          <div class="layui-card-body">
                {$vo.desc}
          </div>
        </div>
        </a>
      </div>
      {/volist}

 


    </div>
  </div> 


</body>